package dgut.bbm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author seventeen
 * @email 1973182107@qq.com
 * @date 2023-05-06 16:56:08
 */
@Data
@TableName("work_order")
public class WorkOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 接单用户ID
	 */
	private Long userId;
	/**
	 * 事件ID
	 */
	private Long goodsId;
	/**
	 * 订单总价
	 */
	private BigDecimal totalPrice;
	/**
	 * 支付状态:0未付款,1已付款
	 */
	private Integer payStatus;
	/**
	 * 付款时间
	 */
	private Date payTime;
	/**
	 * 下单时间
	 */
	private Date createTime;

}
